package com.meilai.project.controller.web.report.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.List;

/**
 * @author xchen
 * @since 2022-04-09
 */
@Data
@ApiModel
public class WeekDetailVO {
	@ApiModelProperty("楼号")
	private String building_number;
	@ApiModelProperty("单元号")
	private String unit_number;
	@ApiModelProperty("楼层")
	private String floor;
	@ApiModelProperty("媒体总数")
	private Integer media_total_count;
	@ApiModelProperty("在刊客户")
	private List<WeekDetailCustomerExt> inPublish;
	@ApiModelProperty("待上刊客户")
	private List<WeekDetailCustomerExt> waitPublish;

	public String groupKey() {
		return building_number + "-" + unit_number + "-" + floor;
	}
}
